package com.ruoyi.project.student.mapper;

import com.ruoyi.project.student.domain.Student;
import com.ruoyi.project.student.domain.param.StudentParam;
import com.ruoyi.project.student.domain.vo.StudentListvo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    public List<StudentListvo> selectStudentList(@Param("param")StudentParam param);
    public int insertStudent(@Param("student") Student student);
    public Student selectById(@Param("id") long id);

    public int editStudentById(@Param("student") Student student);
    public int delete(@Param("id") long id);
}
